//
//  CTPFlickrTiledFetcher.h
//  citipad
//
//  Created by Chih Yuan Liu on 3/5/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CTPBaseUrlFetcher.h"


@class CTPFlickrTiledFetcher;

@protocol CTPFlickrTiledFetcherDelegate
- (void)flickrTiledFetcherBegin:(CTPFlickrTiledFetcher*)sender;
- (void)flickrTiledFetcherEnd:(CTPFlickrTiledFetcher*)sender;
- (void)flickrTiledFetcherSucceeded:(CTPFlickrTiledFetcher*)sender data:(NSData*)data;
- (void)flickrTiledFetcherFailed:(CTPFlickrTiledFetcher*)sender;
@end

@interface CTPFlickrTiledFetcher : CTPBaseUrlFetcher {
	NSObject<CTPFlickrTiledFetcherDelegate> *delegate;
}

-(void)getDataFromCtp:(NSString*) tags;

@property (readwrite, retain) NSObject<CTPFlickrTiledFetcherDelegate> *delegate;


@end
